﻿<ribbon:RibbonWindow x:Class="JasRibbonApplicatie.MainWindow"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:ribbon="clr-namespace:Microsoft.Windows.Controls.Ribbon;assembly=RibbonControlsLibrary"
		Title="JAS Scan"
		x:Name="RibbonWindow"
		Width="1000" Height="700" WindowState="Maximized">
	<Grid x:Name="LayoutRoot">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>
		
		<ribbon:Ribbon x:Name="Ribbon" SelectionChanged="onTab_Click">
			<ribbon:Ribbon.ApplicationMenu>
				<ribbon:RibbonApplicationMenu SmallImageSource="Images\logo_32.png">
					<ribbon:RibbonApplicationMenuItem Header="Afmelden"
													  x:Name="Logoff"
													  ImageSource="Images\lock.png" Click="Logoff_Click" />
					<ribbon:RibbonApplicationMenuItem Header="Afsluiten"
													  x:Name="Close"
													  ImageSource="Images\close.png" Click="Close_Click" />
				</ribbon:RibbonApplicationMenu>
			</ribbon:Ribbon.ApplicationMenu>
			<ribbon:RibbonTab x:Name="scannenTab" 
							  Header="Scannen" IsEnabled="True">
				<ribbon:RibbonGroup x:Name="ScannenGroup" 
									Header="Scannen" IsEnabled="True">
					<ribbon:RibbonButton x:Name="btnOntlenen"
										 LargeImageSource="Images\exchange.png"
										 Width="80"
										 Label="Ontlenen" 
										 Click="onOntleningButton_Click" />
					<ribbon:RibbonButton x:Name="btnTerugbrengen"
										 Width="80"
										 LargeImageSource="Images\exchangeRotated.png"
										 Label="Binnenbrengen" Click="onOntleningButton_Click" />
                    <ribbon:RibbonButton x:Name="btnHuidigeAanvragen"
										 Width="80"
										 LargeImageSource="Images\attachment.png"
										 Label="Aanvragen van vandaag" Click="btnScanActie_Click" />
				</ribbon:RibbonGroup>
				<ribbon:RibbonGroup x:Name="OntleningsGroup"
									Header="Acties" IsEnabled="True">
									<!-- IsEnabled wordt beheerd in Ontleningen -->
					<ribbon:RibbonButton x:Name="btnOntleningBeheer"
										 Width="80"
										 LargeImageSource="Images\barcode.png"
										 Label="Scannen starten" Click="btnScanActie_Click" />
					<ribbon:RibbonButton x:Name="btnOngendaanMaken"
										 Width="80"
										 LargeImageSource="Images\undo.png"
										 Label="Ongedaan maken" Click="btnScanActie_Click" />
				</ribbon:RibbonGroup>
			</ribbon:RibbonTab>
			<ribbon:RibbonTab x:Name="materiaalTab" 
							  Header="Materiaal">
				<ribbon:RibbonGroup x:Name="MateriaalGroup">
					<ribbon:RibbonButton x:Name="btnshowInfo"
										 LargeImageSource="Images/info.png"
										 Label="overzicht materiaal"
										 Click="overzichtMateriaalStatus_Click"/>
					<ribbon:RibbonButton x:Name="btnNieuwMateriaal"
										 LargeImageSource="Images/add.png"
										 Label="voeg materiaal toe" 
										 Click="overzichtMateriaalStatus_Click" />
					<ribbon:RibbonButton x:Name="btnCombineMaterials"
										 LargeImageSource="Images/link.png"
										 Label="Link materiaal"
										 Click="overzichtMateriaalStatus_Click"/>
					<ribbon:RibbonButton x:Name="btnAddToebehoren"
										 LargeImageSource="Images/attachment.png"
										 Label="voeg accessoires toe"
										 Click="overzichtMateriaalStatus_Click"/>    
				</ribbon:RibbonGroup>
				<ribbon:RibbonGroup x:Name="BarcodeGroup">
					<ribbon:RibbonButton x:Name="btnNewItem"
										 LargeImageSource="Images\barcode.png"
										 Label="Nieuw Item" 
										 Click="onButton_Click"/>
					<ribbon:RibbonButton x:Name="btnRefreshItem"
										 LargeImageSource="Images\arrow_refresh.png"
										 Label="Barcode vernieuwen" 
										 Click="onButton_Click" />
					<ribbon:RibbonButton x:Name="btnPrintLabels"
										 LargeImageSource="Images\barcode.png"
										 Label="Labels Printen" 
										 Click="onButton_Click" />
				</ribbon:RibbonGroup>

			</ribbon:RibbonTab>
			<ribbon:RibbonTab x:Name="aanvragenTab" 
							  Header="Aanvragen">
				<ribbon:RibbonGroup x:Name="AanvragenSelectieGroup" 
									Header="Aanvragen">
					<ribbon:RibbonButton x:Name="nieuweAanvragenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\nieuw.png"
										 Label="Nieuwe" 
										 Click="aanvraagFilterStatus_Click" />
					<ribbon:RibbonButton x:Name="goedgekeurdeAanvragenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\goedgekeurd.png"
										 Label="Goedgekeurde" 
										 Click="aanvraagFilterStatus_Click" />
					<ribbon:RibbonButton x:Name="behandeldeAanvragenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\behandeld.png"
										 Label="Behandelde" 
										 Click="aanvraagFilterStatus_Click" />
					<ribbon:RibbonButton x:Name="verstrekenAanvragenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\verstreken.png"
										 Label="Verstreken" 
										 Click="aanvraagFilterStatus_Click" />
					<ribbon:RibbonButton x:Name="afgekeurdeAanvragenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\afgekeurd.png"
										 Label="Afgekeurde" 
										 Click="aanvraagFilterStatus_Click" />
				</ribbon:RibbonGroup>
				<ribbon:RibbonGroup x:Name="AanvragenToolsGroup" 
									Header="Tools">
					<ribbon:RibbonButton x:Name="AanvraagKiezenButton"
										 Width="100"
										 LargeImageSource="Images\info.png"
										 Label="Overzicht" 
										 Click="AanvragenTools_Click" />
					<ribbon:RibbonButton x:Name="AanvraagMateriaalButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\nieuw.png"
										 Label="Materiaal" 
										 Click="AanvragenTools_Click" />
					<ribbon:RibbonButton x:Name="AanvraagMailsButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\mails.png"
										 Label="Mails" 
										 Click="AanvragenTools_Click" />
					<ribbon:RibbonButton x:Name="AanvraagFormulierenButton"
										 Width="100"
										 LargeImageSource="Images\AanvraagBeheerIcons\form.png"
										 Label="Formulieren" 
										 Click="AanvragenTools_Click" />
				</ribbon:RibbonGroup>

			</ribbon:RibbonTab>
			<ribbon:RibbonTab x:Name="gebruikersTab" 
							  Header="Gebruikers">
				<ribbon:RibbonGroup x:Name="BeheerGroup" 
									Header="Beheer">
					<ribbon:RibbonButton x:Name="gebruikersLijstButton"
										 LargeImageSource="Images\barcode.png"
										 Label="Lijst Gebruikers" 
										 Click="onButton_Click" />
				</ribbon:RibbonGroup>
			</ribbon:RibbonTab>

			<ribbon:RibbonTab x:Name="planningTab" 
							  Header="Planning">
					<ribbon:RibbonGroup x:Name="PlanningGroup"
									Header="Planning">
					<ribbon:RibbonButton x:Name="planningButton"
										 LargeImageSource="Images\planning2.png"
										 Label="Planning" 
										 Click="onButton_Click" />
				</ribbon:RibbonGroup> 
			</ribbon:RibbonTab>
		</ribbon:Ribbon>
		<Popup x:Name="loginPopup" PopupAnimation="Fade" Placement="Center" IsOpen="True" ></Popup>
		<Frame Grid.Row="1" HorizontalAlignment="Stretch" Name="mainFrame" VerticalAlignment="Top" Margin="0,0,0,0" Panel.ZIndex="0" NavigationUIVisibility="Hidden" />
	</Grid>
</ribbon:RibbonWindow>
